package com.peanut.bosskg.entity.separate;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName: ApplyRechargeDTO
 * @Description: 申请分账请求参数
 * @Author: chc
 * @Date: 2022/6/11
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ApplyRechargeVo", description = "申请分账返回参数")
public class ApplyRechargeVo implements Serializable {

    private static final long serialVersionUID = -5046264868924674095L;

    @ApiModelProperty(value = "服务商ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long providerId;

    @ApiModelProperty(value = "实际到账充值金额=充值金额-手续费（单位:分）")
    private Long accountingAmt;

    @ApiModelProperty(value = "充值金额（单位:分）")
    private Long rechargeAmt;

    @ApiModelProperty(value = "商户充值订单号")
    private String enterpriseOrderNo;

    @ApiModelProperty(value = "身边云平台充值订单号")
    private String orderNo;


}
